<template>
	<view>		
		<view class="lists">
			<view class="list" v-for="(item,index) in lists">
				<view class="left">
					<text class="title">充值</text>
					<text class="time">{{item.createTime}}</text>
				</view>
				<text class="right">+{{item.free}}</text>
			</view>
		</view>
		<text class="none">~暂时没有更多了噢~</text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				lists:'',
			};
		},
		methods: {			
		},
		onShow() {
			// this.api.get('api/auth/getRechargeOrder').then(res=>{
			// 	this.lists = res.data
			// })
		}
	}
</script>

<style lang="scss">
	.none{
		color: #999;
		display: block;
		text-align: center;
		margin: 40rpx;
	}
	.lists {
		.list {
			display: flex;
			justify-content: space-between;
			align-items: center;
			
			margin: 20rpx;
			padding: 10rpx 0;
			border-bottom: 1px solid rgba(181, 181, 181, 0.3);
			.left{
				display: flex;
				flex-direction: column;
				.title{
					margin-bottom: 10rpx;
				}
				.time{
					font-size: 26rpx;
					color:rgba(181, 181, 181, 1) ;
				}
			}
			.right{
				font-size: 36rpx;
				font-weight: bold;
				color: rgba(212, 48, 48, 1);
			}
		}
	}
</style>
